using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using DAO;
using DTO;

namespace BUS
{
    public class KyThiQG_BUS
    {
        public DataSet SoLuongDauRot()
        {
            DataSet ds = new DataSet();
            try
            {
                KyThiQG_DAO ktqgDAO = new KyThiQG_DAO();
                ds = ktqgDAO.SoLuongDauRot();
            }
            catch (Exception ex)
            {
                throw ex;
            }
            return ds;
        }

        public DataSet TinhDoanhThu()
        {
            DataSet ds = new DataSet();
            try
            {
                KyThiQG_DAO ktqgDAO = new KyThiQG_DAO();
                ds = ktqgDAO.TinhDoanhThu();
            }
            catch (Exception ex)
            {
                throw ex;
            }
            return ds;
        }

        public void DoanhThu(ref Double DoanhThu)
        {
            try
            {
                KyThiQG_DAO ktqgDAO = new KyThiQG_DAO();
                ktqgDAO.DoanhThu(ref DoanhThu);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }

        public DataTable DSKyThi()
        {
            KyThiQG_DAO ktdao = new KyThiQG_DAO();
            DataTable dt = ktdao.DSKyThi();
            return dt;
        }
    }
}
